# python自省是通过一定的机制查询到python的内部结构
from class_method import Date


class User:
    name = "user"


class Student(User):
    def __init__(self, school_name):
        self.school_name = school_name


if __name__ == "__main__":
    stu = Student("tinghua")
    print(stu.__dict__)
    print(stu.name)
    print(User.__dict__)